package com.webbei.Backstage.action;

import java.util.List;

import com.webbei.Backstage.service.BackstateSer;
import com.webbei.pojo.Brands;
import com.webbei.pojo.Products;

public class GetAllProductsAction {
	private BackstateSer bao;
	private List<Products> product;
	public String execute(){
		product=bao.getAllProducts();
		System.out.println(product.toString());
		return "success";
	}
	public BackstateSer getBao() {
		return bao;
	}
	public void setBao(BackstateSer bao) {
		this.bao = bao;
	}
	public List<Products> getProduct() {
		return product;
	}
	public void setProduct(List<Products> product) {
		this.product = product;
	}
	
}
